home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / prog_c / cuj0696.zip / DWYER.ZIP / COUPON.TST / DIALOG.LST < prev    next >
File List  |  1995-12-07  |  1KB  |  40 lines

  1. C O U P O N  T E S T
  2. Enter Starting Seed (-1 for time):
  3. Enter Generator Desired:
  4.     A = ANSI (Plauger)
  5.     C = Dwyer Combination (CUJ 6/95)
  6.     F = Math77 (Fortran)
  7.     H = Knuth Line 27
  8.     K = Knuth Line 26
  9.     L = Linear Shift Register
  10.     M = Moshier drand()
  11.     P = Dwyer Portable (CUJ 6/95)
  12.     R = Run-Time Lib rand():
  13.     S = Knuth Subtractive Generator
  14.     4 = Approximate-Factoring Algorithm # 4
  15.     Else Run-Time Lib rand():
  16. Starting Seed = 37147
  17. Generator     = Dwyer Combination Generator (CUJ 6/95)
  18. Enter Number Unique Integers in a Coupon [5-25]:
  19.     Number Entered:  5 (Number Unique Integers in a Coupon)
  20.     Test Value Used: 5
  21. Enter Maximum Segment Length [11-100]:
  22.     Number Entered:  11 (Maximum Segment Length)
  23.     Test Value Used: 11
  24. Enter Minimum Cell Expectation [5-100]:
  25.     Number Entered:  5 (Minimum Cell Expectation)
  26.     Test Value Used: 5
  27. How Many Coupons Are To Be Collected?  [400 ...]:
  28.     Number Entered:  400 (Number of Coupons to be Counted)
  29.     Test Value Used: 400
  30.  
  31. Failure Count = 612
  32.     A Complete Coupon Should Have Been
  33.     Collected Within This Many Variates.
  34.  
  35. Kolmogorov-Smirnov Statistics and Probabilities on Chi-Square Data
  36.     K(100)+ = 0.041883 (Knuth) or 31.483620%
  37.     K(100)- = 0.058189 (Knuth) or 51.080306%
  38.  
  39. This Run Required 455145 Random Numbers
  40.